package com.mrdeer.user.api.dto.resource;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

/**
 * @author ：xie jianchu
 * @date ：Created in 2020/9/7 0007 14:56
 */
@Data
@ApiModel(value = "ResourceDTO", description = "应用资源")
public class ResourceDTO implements Serializable {
    private static final long serialVersionUID = -8696871202054689616L;

    @ApiModelProperty("应用编码")
    private String applicationCode;

    @ApiModelProperty("应用名称")
    private String applicationName;

    @ApiModelProperty("应用包含资源，按资源类型分包括菜单等资源信息，如:menu:JSONObject")
    Map<String, Object> appRes = new HashMap<>();
}
